﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace IceDog.WebApi.AnythingApi.Controllers
{
    /// <summary>
    /// Num
    /// </summary>
    [Route("[controller]")]
    [ApiController]
    public class NumberServiceBus : ControllerBase
    {
        /// <summary>
        /// Get请求
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [ProducesResponseType(StatusCodes.Status200OK)]
        [Route("1")]
        public ActionResult A1()
        {
            return Ok("Num:1");
        }

        /// <summary>
        /// Get请求
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [ProducesResponseType(StatusCodes.Status200OK)]
        [Route("2")]
        public ActionResult A2()
        {
            return Ok("Num:2");
        }

        /// <summary>
        /// Get请求
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [ProducesResponseType(StatusCodes.Status200OK)]
        [Route("3")]
        public ActionResult A3()
        {
            return Ok("Num:3");
        }
    }
}